// 前台查询老师的信息
import request from '@/utils/request'
const api_name = '/eduservice/teacher'
export default {
  // 分页查询所有的老师信息
  getPageList(current, limit) {
    return request({
      url: `${api_name}/frontTeacherPage/${current}/${limit}`,
      method: 'get'
    })
  },

  // 根据老师的id查询老师的信息+老师的主讲课程信息
  getById(teacherId) {
    return request({
      url: `${api_name}/selectTeacherById/${teacherId}`,
      method: 'get'
    })
  }

}